Generic Systems Australia

Generic Systems Australia Pty Ltd was incorporated in 1993. At the time of forming the company, the Director’s thoughts were that there was still a lot of life in the Mainframe market, something that still prevails today.

Contact Info

Level 32, 101 Miller St. North Sydney, NSW, 2060 Australia
mktg@gensys.com.au
61-2-9959-2239

How to Decrypt Files with Open PGP

In this tutorial you will learn how to decrypt files using Open PGP in GoAnywhere Workflows.

Open PGP encryption enables you to store sensitive information or transmit that information across insecure networks, such as the internet or email, so that it cannot be read by anyone except the intended recipient.

A public key is used to encrypt a file and verify a signature. A private key is used by the owner to decrypt files. You must provide your trading partner your public key to encrypt the files they send you. Then you will use your private key to decrypt the files. Never share your private key with anyone!

Open PGP Encryption and Decryption Diagram

GoAnywhere provides you with a Key Management System where you can create, import, and export PGP keys. Keys are protected and organized into Key Vaults for security access controls. You can access the Key Management System through the Encryption drop-down menu.

PGP Key Manager in Open PGP Studio

Decrypting a File

The PGP Decrypt task decrypts one or more files, using a private PGP key, reverting the files back into plain text form. The digital signature of an encrypted file will be verified automatically when the file is decrypted.

You should have already created a PGP key pair and provided the public key to your trading partner. You will use the private key from that key pair to decrypt incoming files from that same trading partner.

Create a new Project and add the PGP Decrypt task to the Project Outline.

PGP Decrypt Task in Open PGP Studio

On the PGP Decrypt task, select Key Vault for the Key Location and select the appropriate Vault Name from the drop-down menu. Specify the password for the secret key if it has one.

Then, enter the Input File location which can be a local file on the GoAnywhere server, a UNC path, an NFS mount, or an SMB/CIFS network server. Typically the file extension will end with ".pgp". You will also need to enter the Output File location for the decrypted file.

Executing the Project

To test the Project, click on the Execute button which will save the Project, validate all fields are configured properly (also known as compiling), and begin Project execution.

Job Log

Once complete, you will see messages indicating that the Job completed successfully along with a link to view the Job Log. You can review the Job Log for more information on what took place.

Not using GoAnywhere MFT yet? Start a free trial and test it out for 30 days.

START FREE TRIAL